package com.ftg.learn.mapper;

import com.ftg.learn.domain.EmployeeDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 描述     sql
 *  完成数据 操作
 *  Mapper 把当前接口的代理类注入到spring容器里面
 * @author 布衣
 * @date 2024/8/20
 */
@Mapper
public interface EmplyeeMapper {

    List<EmployeeDomain> list(@Param("ename") String ename);

    Integer save(EmployeeDomain employeeDomain);
}
